package com.woniu.smart.mapper;

import com.woniu.smart.dto.CustomerDTO;
import com.woniu.smart.entity.Customer;
import com.woniu.smart.vo.CustomerVO;

import java.util.List;

/**
* @author wangheng
* @description 针对表【customer】的数据库操作Mapper
* @createDate 2022-10-19 19:23:47
* @Entity com.woniu.smart.entity.Customer
*/
public interface CustomerMapper {

    List<CustomerVO> selectAll(CustomerDTO customerDTO);

    List<CustomerVO> selectByCustomerId(Long customerId);

    int deleteByPrimaryKey(Long id);

    int insert(Customer record);

    int insertSelective(Customer record);

    Customer selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Customer record);

    int updateByPrimaryKey(Customer record);

}
